package com.shoneworn.smartplug.data;

import android.graphics.drawable.Drawable;
import android.widget.ToggleButton;

public class AppInfo {

    //前面的圆形图标
    private Drawable icon;
    //设备的名称
    private String deviceName;
    //开关按钮
    private Drawable tbButton;
    //详细信息的图标
    private Drawable detail;

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Drawable getTbButton() {
        return tbButton;
    }

    public void setTbButton(Drawable tbButton) {
        this.tbButton = tbButton;
    }

    public void setDetail(Drawable detail) {
        this.detail = detail;
    }

    public Drawable getIcon() {
        return icon;
    }

    public String getDeviceName() {
        return deviceName;
    }


    public Drawable getDetail() {
        return detail;
    }

    @Override
    public String toString() {
        return "AppInfo{" +
                "icon=" + icon +
                ", deviceName='" + deviceName + '\'' +
                ", tbButton=" + tbButton +
                ", detail=" + detail +
                '}';
    }
}
